
export default {
    namespaced: true,
    state() {
        return {
           change:{
                isHomeChange: false,
                isMineChange: false,
                isSearchChange: false
           }
        }
    },
    mutations: {
        setHomeIndex(state, index) {
            state.change.isHomeChange = index
        },
        setMineIndex(state, index){
            state.change.isMineChange =index
        },
        setSearchIndex(state, index){
            state.change.isSearchChange = index
        },
        setIndex(state, index){
            state.change.isHomeChange = index
            state.change.isMineChange = index
            state.change.isSearchChange = index
        }

    },
    actions: {},
    getters: {
        
    }
}